package top.zxybird.yun.serialization.thrift.model;

import com.google.common.collect.Lists;

import java.util.List;

public class TList extends TType {

  private List value;

  public TList() {
    super.setType(TTypeConstant.LIST);
    this.value = Lists.newArrayList();
  }

  public List<? extends TType> getValue() {
    return this.value;
  }

  public void add(TType value) {
    this.value.add(value);
  }
}
